package com.gml.design.principle.openclose.impl;

/**
 * 加大圆周率的精度
 */
public class CalculationAreaExt extends CalculationArea{
    private final static double π = 3.141592653D;

    @Override
    public double circular(double r) {
        return π * r * r;
    }
}
